#ifndef __LGUIFILELIST_H__
#define __LGUIFILELIST_H__

#include "LGUIListBox.h"
class LGUIFileList : public LGUIListBox
{
  String path, basePath;
  bool allowBrowsing;
  bool allowBrowsingOutside;
public:
	LGUIFileList(int id, int _x, int _y, int _w, int _h, String path, bool allowBrowsing=false, bool _allowBrowsingOutside=false);
	virtual ~LGUIFileList();

  virtual void refresh();
  virtual void onClick(int n);
  String getFullFilename();
  String getRelativeFilename(); //relative to basePath
};


#endif //__LGUIFILELIST_H__